<if condition="$show['forumslist']">
    <br/>
    <else/>
    $navbar
</if>
<if condition="$show['forumslist']">
    <table cellpadding="0" cellspacing="0" width="100%" align="center">
        <tr>
            <td align="left">
                <table style="border-collapse: collapse;" border="1" bordercolor="#000080" cellpadding="0"
                       cellspacing="0" width="100%">
                    <tr class="Title_Blue_text" valign="top">
                        <td class="Title_Blue_center">
                            <a name="$foruminfo[title]">$foruminfo[title]</a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr style="height: 80px;" valign="top">
            <td style="border: 0px none;">
                <table style="border-collapse: collapse;" border="1" bordercolor="#9cb1ce" cellpadding="0"
                       cellspacing="0" width="100%">
                    <tbody>
                    <tr class="Title_Blue_text" valign="top">
                        <th width="44"></th>
                        <th style="text-align: left; padding-left: 20px;">Chuyên mục</th>
                        <th width="440" style="text-align: center;">Bài mới nhất</th>
                        <th width="114" style="text-align: center;">Chủ đề/ Bài viết</th>
                    </tr>
                    <if condition="$forumbits">$forumbits</if>
                    </tbody>
                </table>
            </td>
        </tr>
    </table>
</if>

<if condition="$show['threadslist']">
    <!-- threads list  -->

    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr>
            <td class="choose_cat">$forumjump</td>
            <td align="right" width="50%">
                <a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">
                    <div onMouseOut="javascript: this.className='new_thread_out';"
                         onMouseOver="javascript: this.className='new_thread_over';" class="new_thread_out"
                         border="0"></div>
                </a>
            </td>
            <td width="50" align="right">
                <div class="rss_out" onMouseOut="javascript: this.className='rss_out';"
                     onMouseOver="javascript: this.className='rss_over';"><a
                        href="external.php?forumid=$foruminfo[forumid]"><img src="images/muare/RSS_02.gif"
                                                                             border="0"></a></div>
            </td>
        </tr>
    </table>

    <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
        <input type="hidden" name="url" value="$url"/>
        <input type="hidden" name="s" value="$session[sessionhash]"/>
        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]"/>
        <input type="hidden" name="forumid" value="$forumid"/>

        <!-- controls above thread list -->
        <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px" align="center">
            <tr>
                <td class="smallfont"></td>
                <if condition="$pagenav">
                    <td align="$stylevar[right]">$pagenav</td>
                </if>
            </tr>
        </table>
        <!-- / controls above thread list -->

        <table cellpadding="0" cellspacing="0" width="100%" border="1" bordercolor="#9cb1ce"
               style="border-collapse:collapse;margin:0px;" align="center">
            <tr>
                <td
                <if condition="$show['inlinemod']">colspan="6"
                    <else/>
                    colspan="5"
                </if>
                style="background-color:#e7ebf7; padding-left:10px; color:#000080; height:30px; font-family:Tahoma;
                font-size:12px; font-weight:bold; vertical-align:middle; text-align:left;">
                <table width="100%"
                       style="background-color:#e7ebf7; padding-left:10px; color:#000080; height:30px; font-family:Tahoma; font-size:12px; font-weight:bold; vertical-align:middle; text-align:left;">
                    <tr>
                        <td align="left">Bạn đang ở chuyên mục "<span id="ctlForumContent_lblForumName">$foruminfo[title]</span>"
                        </td>
                        <td align="right"></td>
                    </tr>
                </table>
                </td>
            </tr>
            <tr>
                <td
                <if condition="$show['inlinemod']">colspan="6"
                    <else/>
                    colspan="5"
                </if>
                height="28" style="border-bottom:2px solid #9cb1ce; padding:2px;" align="center">
                <script type="text/javascript" src="http://admicro1.vcmedia.vn/ads_codes/ads_box_38.ads"></script>
                </td>
            </tr>
            <if condition="$forumid == 603">
                <tr>
                    <td
                    <if condition="$show['inlinemod']">colspan="6"
                        <else/>
                        colspan="5"
                    </if>
                    style="border-bottom:2px solid #9cb1ce;" align="center">
                    <iframe src="http://id.ming.vn/big4/request?site_key=2aa46da39e2a686507511fa29ae5c2f9&site_callback=http://ombacay.soha.vn/muare_vn/login_success&foreign_type=7&type=1"
                            width="100%" height="630" frameborder="0" scrolling="no">
                        <p>Your browser does not support iframes.</p>
                    </iframe>
                    </td>
                </tr>
            </if>
            <if condition="$show['stickies']">
                <tr>
                    <td
                    <if condition="$show['inlinemod']">colspan="6"
                        <else/>
                        colspan="5"
                    </if>
                    style="height:26px; text-align:left; vertical-align:middle;padding-left:5px; color:#000080;
                    font-family:tahoma; font-size:11px; font-weight:bold; background-color:#e7ebf7;">Những chủ đề cần
                    chú ý</td>
                </tr>
                $threadbits_sticky
            </if>
            <tr>
                <td
                <if condition="$show['inlinemod']">colspan="6"
                    <else/>
                    colspan="5"
                </if>
                style="height:26px; text-align:left; vertical-align:middle; padding-left:5px; color:#000080;
                font-family:tahoma; font-size:11px; font-weight:bold; background-color:#e7ebf7;">Những chủ đề trên diễn
                đàn</td>
            </tr>
            $threadbits
            <tr>
                <td style="padding-right:5px;"
                <if condition="$show['inlinemod']">colspan="6"
                    <else/>
                    colspan="5"
                </if>
                align="right">$pagenav</td>
            </tr>
            <if condition="$show['inlinemod']">
                <tr>
                    <td colspan="7" style="padding-bottom:5px;">
                        <div class="smallfont"
                             style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
                            <strong>$vbphrase[moderation]:</strong>
                            <select name="do">
                                <if condition="$show['deletethread']">
                                    <option value="deletethread">$vbphrase[delete_threads]</option>
                                    <option value="undeletethread">$vbphrase[undelete_threads]</option>
                                </if>
                                <if condition="$show['spamctrls']">
                                    <option value="spamthread">$vbphrase[delete_threads_as_spam]</option>
                                </if>
                                <if condition="$show['openthread']">
                                    <option value="open">$vbphrase[open_threads]</option>
                                    <option value="close">$vbphrase[close_threads]</option>
                                </if>
                                <if condition="$show['approvethread']">
                                    <option value="approvethread">$vbphrase[approve_threads]</option>
                                    <option value="unapprovethread">$vbphrase[unapprove_threads]</option>
                                </if>
                                <if condition="$show['movethread']">
                                    <option value="stick">$vbphrase[stick_threads]</option>
                                    <option value="unstick">$vbphrase[unstick_threads]</option>
                                    <option value="movethread">$vbphrase[move_threads]</option>
                                    <option value="mergethread">$vbphrase[merge_threads]</option>
                                </if>
                                <if condition="$template_hook['inlinemod_thread_bottom']">
                                    $template_hook[inlinemod_thread_bottom]
                                </if>
                            </select>
                            <input type="submit" class="button" id="inlinego" value="$vbphrase[go]"/>
                        </div>
                        <script type="text/javascript">
                            <!--
                            inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
                            //-->
                        </script>
                    </td>
                </tr>
            </if>
        </table>
    </form>
    <table cellpadding="0" cellspacing="5" width="95%">
        <tr>
            <td align="center">
                <script src='http://admicro1.vcmedia.vn/ads_codes/ads_box_39.ads'></script>
            </td>
        </tr>
    </table>
    <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
        <if condition="$show['useronline']">
            $show[useronline]
        </if>
        <if condition="$show['moderators']">
            <tr>
                <td height="5"></td>
            </tr>
            <tr>
                <td>
                    <table style="border-collapse: collapse;" border="1" bordercolor="#b1c1d8" cellpadding="0"
                           cellspacing="0" width="100%">
                        <tbody>
                        <tr>
                            <td class="listing_user_online_title" style="vertical-align: middle;">
                                Danh sách các bạn tham gia quản trị diễn đàn
                            </td>
                        </tr>
                        <tr>
                            <td class="listing_user_online">
                                $moderatorslist
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </if>
    </table>

    <if condition="$show['popups']">
        <!-- inline mod menu -->
        <if condition="$show['inlinemod']">
            <div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
                $threadadmin_imod_menu_thread
            </div>
        </if>
        <!-- / inline mod menu -->

    </if>
    <!-- ############## END THREADS LIST ##############  -->
</if>